package com.tencent.stat.common;

import java.io.File;

class o
{
  private static int a = -1;

  public static boolean a()
  {
    if (a == 1)
      return true;
    if (a == 0)
      return false;
    int i = 0;
    while (true)
    {
      if (i < 6);
      try
      {
        if (!(new File(new java.lang.String[] { "/bin", "/system/bin/", "/system/xbin/", "/system/sbin/", "/sbin/", "/vendor/bin/" }[i] + "su").exists()))
          break label106;
        a = 1;
        return true;
      }
      catch (Exception localException)
      {
        a = 0;
        return false;
      }
      label106: i += 1;
    }
  }
}